<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style type="text/css">
    table.gridtable {
        font-family: verdana,arial,sans-serif;
        font-size:11px;
        color:#333333;
        border-width: 1px;
        border-color: #666666;
        border-collapse: collapse;
    }
    table.gridtable th {
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: #666666;
        background-color: #dedede;
    }
    table.gridtable td {
        border-width: 1px;
        padding: 8px;
        border-style: solid;
        border-color: #666666;
        background-color: #ffffff;
    }
</style>
<body>
<form th:action="@{/query/}" method="get">
    <input type="text"   name="name"/>
    <button type="submit">submit</button>

</form>
<table class="gridtable">
    <thead>
    <tr>
        <th>名字</th>
        <th>密码</th>
    </tr>
    </thead>
<tr th:each="user,iterStat: ${model.users}">
    <td th:text="${user.name}">0</td>
    <td th:text="${user.password}"></td>
    </tr>
</table>
</body>
</html>